<?php
	include_once("config.php");
?>
<html>

<head>
	<title>GBIF Resources</title>
	<meta name="ROBOTS" content="INDEX, FOLLOW">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="GBIF, Glossary, Resources, XML, Schemas, DWC, DWCA, IPT, extensions, darwin core, TDWG" />
	<meta name="description" content="This site contains technical GBIF resources like xml schemas, dwc archive/IPT extensions and vocabularies and is primarily intended for machine read." />

	<style type="text/css">
		#loading-mask {	position:absolute; left:0; top:0; width:100%; height:100%;	z-index:20000; background-color:white; }
		#loading { position:absolute;	left:43%; top:40%; padding:2px; z-index:20002; height:auto; }
		#loading img { margin-bottom:5px; }
		#loading .loading-indicator{ background:white; color:#555;	font:bold 13px tahoma,arial,helvetica; padding:10px;	margin:0;	text-align:center; height:auto;	}
		#cover1 {	background-image:url(resources/images/cover01.jpg);	width: 166; height: 94;	z-index: 20001;	position: absolute;	top: 50px; }
		#cover2 {	background-image:url(resources/images/cover02.jpg);	width: 103;	height: 94;	z-index: 20001;	position: absolute;	right: 0px;}
		#cover3 {	background-image:url(resources/images/cover03.jpg);	width: 208;	height: 94;	z-index: 20001;	position: absolute;	right: 80px;	top: 300px;}
		#cover4 {	background-image:url(resources/images/cover04.jpg);	width: 286;	height: 94;	z-index: 20001;	position: absolute;	left: 380px;	top: 10px;}
		#cover5 {	background-image:url(resources/images/cover05.jpg);	width: 209;	height: 94;	z-index: 20001;	position: absolute;	left: 40%;	bottom: 0px;}
	</style>
</head>

<body>
	<div id="loading-mask"></div>
	<div id="cover1"></div>
	<div id="cover2"></div>
	<div id="cover3"></div>
	<div id="cover4"></div>
	<div id="cover5"></div>
	<div id="loading">
		<div class="loading-indicator"><img src="resources/images/gbif.jpg" style="margin-right:8px;" align="absmiddle"/><br/><img src="resources/images/default/grid/loading.gif" style="margin-right:6px;" align="absmiddle"/><span id="loading-msg">Loading Glossary...</span></div>
	</div>

	<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
	<link rel="stylesheet" type="text/css" href="resources/css/xtheme-gray.css" />
	<link rel="stylesheet" type="text/css" href="resources/css/style.css" />
	<script type="text/javascript">
		var BASE_URL = "<?php print BASE_URL?>";
	</script>
	
	<script type="text/javascript" src="resources/ext/ext-base.js"></script>
	<script type="text/javascript" src="resources/ext/ext-all.js"></script>
	<script type="text/javascript" src="resources/ext/searchfield.js"></script>
	<script type="text/javascript" src="resources/ext/selectbox.js"></script>

	<script type="text/javascript" src="resources/js/classes/gbif.stats.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.panel.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.termspanel.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.welcomepanel.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.infopanel.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.tabpanel.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.tree.js"></script>
	<script type="text/javascript" src="resources/js/classes/gbif.glossary.manager.js"></script>

	<script type="text/javascript" src="resources/js/gbifglossaryui.js"></script>
<?php
if ($analytics) {
?>	

	<script type="text/javascript">
		var BASE_URL = "<?php print BASE_URL?>";
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>

	<script type="text/javascript">
		var pageTracker = _gat._getTracker("<?php print $trackingId?>");
		pageTracker._initData();
		pageTracker._trackPageview();
	</script>
<?php
	}
?>

</body>

</html>